package com.glela.serial.model.response.hometitle;

import java.util.List;

import org.springframework.util.StringUtils;

import com.glela.common.model.ProductTag;

/**
 * 首页标题详细信息商品信息
 * @author zls
 *
 */
public class ResponseHomeTitleInfoGoodsVo {
	private int		number_marketPirce;		// 建议售价
	private int		number_lowestPrice;		// 最低售价
	/*** 佣金 */
	private Integer	number_commission	= 0;
	
	/***
	 * 市场价
	 */
	String marketPirce = "0";
	/***
	 * 实际销售价
	 */
	String lowestPrice = "0";
	/***
	 * 佣金
	 */
	String commission = "0";
	
	/*** 校 妆 币 */
	private Integer	xzb			= 0;
	private long	goodsId		= 0;	//商品id
	private String	name;				//商品名称
	private String	labelName;			//标签名
	long			productId	= 0;	//货品id
	private int		selfSupport;		//0自营,1非自营
	private String	onlineTime;			//上线时间
	private String	offlineTime;		//下线时间
	private long	inventoryAvlNum;	//可用库存
	private String navigateImage = "";//介绍图
	private int orderNo; //排序
	private int upOrDown ;//当前用户（店主）是否上架该商品（1表示上架）
	private List<ProductTag> productTags;//产品标签


	public int getUpOrDown() {
		return upOrDown;
	}

	public void setUpOrDown(int upOrDown) {
//		this.upOrDown = upOrDown;
		if (StringUtils.isEmpty(upOrDown)) {
			this.upOrDown = 0;
		} else {
			this.upOrDown = upOrDown;
		}
	}

	public List<ProductTag> getProductTags() {
		return productTags;
	}

	public void setProductTags(List<ProductTag> productTags) {
		this.productTags = productTags;
	}

	public int getOrderNo() {
		return orderNo;
	}

	public void setOrderNo(int orderNo) {
		this.orderNo = orderNo;
	}

	public int getNumber_marketPirce() {
		return number_marketPirce;
	}

	public void setNumber_marketPirce(int number_marketPirce) {
		this.number_marketPirce = number_marketPirce;
	}

	public int getNumber_lowestPrice() {
		return number_lowestPrice;
	}

	public void setNumber_lowestPrice(int number_lowestPrice) {
		this.number_lowestPrice = number_lowestPrice;
	}

	public Integer getNumber_commission() {
		return number_commission;
	}

	public void setNumber_commission(Integer number_commission) {
		this.number_commission = number_commission;
	}



	public String getMarketPirce() {
		return marketPirce;
	}

	public void setMarketPirce(String marketPirce) {
		this.marketPirce = marketPirce;
	}

	public String getLowestPrice() {
		return lowestPrice;
	}

	public void setLowestPrice(String lowestPrice) {
		this.lowestPrice = lowestPrice;
	}

	public String getCommission() {
		return commission;
	}

	public void setCommission(String commission) {
		this.commission = commission;
	}

	public int getSelfSupport() {
		return selfSupport;
	}

	public void setSelfSupport(int selfSupport) {
		this.selfSupport = selfSupport;
	}

	public String getNavigateImage() {
		return navigateImage;
	}

	public void setNavigateImage(String navigateImage) {
		if (StringUtils.isEmpty(navigateImage)) {
			this.navigateImage = "";
		} else {
			this.navigateImage = navigateImage;
		}
	}


	public Integer getXzb() {
		return xzb;
	}

	public void setXzb(Integer xzb) {
		this.xzb = xzb;
	}

	public long getGoodsId() {
		return goodsId;
	}

	public void setGoodsId(long goodsId) {
		this.goodsId = goodsId;
	}

	public long getProductId() {
		return productId;
	}

	public void setProductId(long productId) {
		this.productId = productId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getLabelName() {
		return labelName;
	}

	public void setLabelName(String labelName) {
		this.labelName = labelName;
	}



	public String getOnlineTime() {
		return onlineTime;
	}

	public void setOnlineTime(String onlineTime) {
		this.onlineTime = onlineTime;
	}

	public String getOfflineTime() {
		return offlineTime;
	}

	public void setOfflineTime(String offlineTime) {
		this.offlineTime = offlineTime;
	}

	public long getInventoryAvlNum() {
		return inventoryAvlNum;
	}

	public void setInventoryAvlNum(long inventoryAvlNum) {
		this.inventoryAvlNum = inventoryAvlNum;
	}

}
